export const Layout = () => import("@/layout/index.vue");
import PermissionType from "@/utils/PermissionType";

const testRoutes = {
  path: "/test",
  component: Layout,
  redirect: "/test/test1",
  meta: { title: "测试管理", icon: "system" },
  children: [
    {
      path: "test1",
      name: "Test1",
      //component: () => import("@/views/test/test1.vue"),
      meta: { title: "测试1", icon: "el-icon-Document", hidden: false, },
      children:[
        {
          path: "test2",
          name: "Test2",
          component: () => import("@/views/test/test2.vue"),
          meta: { title: "测试2", icon: "el-icon-Document" , hidden: false},
        },
        {
          path: "test3",
          name: "Test3",
          component: () => import("@/views/test/test3.vue"),
          meta: { title: "测试3", icon: "el-icon-Document", hidden: false},
        },
      ]
    },
  ],
}

export default testRoutes;
